package com.ssm.blog.pojo;

import java.util.List;

public class Permission {
    private Integer roleId;//角色id
    private Integer menuId;//菜单id
    private String url;//菜单url
    private List<Integer> roleIds;//角色id集合，多个角色可以访问同一个url

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }
}